package com.x.ant.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.util.Date;

@MappingTable(tableName = "ANT_TRUCK")
public class Truck extends BaseObject {
    @MappingColumn(columnName = "TRUCK_ID", columnPk = true, columnLength = 32)
    private String truckId;
    @MappingColumn(columnName = "TRUCK_MOBILE")
    private String truckMobile;
    @MappingColumn(columnName = "TRUCK_PLATE_HEADER")
    private String truckPlateHeader;
    @MappingColumn(columnName = "TRUCK_PLATE_MIDDLE")
    private String truckPlateMiddle;
    @MappingColumn(columnName = "TRUCK_PLATE_CODE")
    private String truckPlateCode;
    @MappingColumn(columnName = "TRUCK_TYPE")
    private String truckType;
    @MappingColumn(columnName = "TRUCK_NATIVE")
    private String truckNative;
    @MappingColumn(columnName = "TRUCK_LICENCE")
    private Integer truckLicence;
    @MappingColumn(columnName = "TRUCK_CREATE_TIME")
    private Date truckCreateTime;
    @MappingColumn(columnName = "USER_ID")
    private String userId;
    @MappingTable(tableName = "ANT_USER")
    private User user;

    public String getTruckId() {
        return truckId;
    }

    public void setTruckId(String truckId) {
        this.truckId = truckId;
    }

    public String getTruckMobile() {
        return truckMobile;
    }

    public void setTruckMobile(String truckMobile) {
        this.truckMobile = truckMobile;
    }

    public String getTruckPlateHeader() {
        return truckPlateHeader;
    }

    public void setTruckPlateHeader(String truckPlateHeader) {
        this.truckPlateHeader = truckPlateHeader;
    }

    public String getTruckPlateMiddle() {
        return truckPlateMiddle;
    }

    public void setTruckPlateMiddle(String truckPlateMiddle) {
        this.truckPlateMiddle = truckPlateMiddle;
    }

    public String getTruckPlateCode() {
        return truckPlateCode;
    }

    public void setTruckPlateCode(String truckPlateCode) {
        this.truckPlateCode = truckPlateCode;
    }

    public String getTruckType() {
        return truckType;
    }

    public void setTruckType(String truckType) {
        this.truckType = truckType;
    }

    public String getTruckNative() {
        return truckNative;
    }

    public void setTruckNative(String truckNative) {
        this.truckNative = truckNative;
    }

    public Integer getTruckLicence() {
        return truckLicence;
    }

    public void setTruckLicence(Integer truckLicence) {
        this.truckLicence = truckLicence;
    }

    public Date getTruckCreateTime() {
        return truckCreateTime;
    }

    public void setTruckCreateTime(Date truckCreateTime) {
        this.truckCreateTime = truckCreateTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
